<script type="text/javascript">
	$(function() {
		$("input[name=ScriptFile]").click(function() {
			$('#ScriptFile').trigger('click');
		});
	});
	
	function changeValue(thic) {
		$('input[name=ScriptFile]').val($(thic).val());
	}
</script>
<div align="center">
	<br />
	<form id="moduls_addUnitScript_addForm" method="post">
		<table class="tableForm">
			<tr>
				<th style="width: 60px; font-size: 12px; font-weight: normal;">UnitScriptFile:</th>
				<td><input name="ScriptFile"
					class="easyui-validatebox inputCss" data-options="required:true" />
					<input type="file" id="ScriptFile" style="display: none;" onchange="changeValue(this)"/>
				</td>
			</tr>
			<tr>
				<th style="width: 80px; font-size: 12px; font-weight: normal;">UnitScriptName:</th>
				<td><input name="unitScriptName"
					class="easyui-validatebox  inputCss" data-options="required:true" />
				</td>
			</tr>
		</table>
	</form>
</div>